import request from '@/utils/request.js'

//用户相关请求模块
//用户登录  
export const login=data=>{
    return request({
        method:'post',
        url:'/admin/login',
        data
    })
}

//获取用户信息,
export const getUserProfile=()=>{
    return request({
        method:'get',
        url:'/user/profile'
    })
  
}  


//修改用户信息